﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="pointbroker.aspx.cs" Inherits="map.bbs.pointbroker" %>

<%@ Register Assembly="RuleCode.Common" Namespace="RuleCode.Controls" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
     <style type="text/css">
        .DatalistContenttable 
        {
            font-size :small;
            width:100px;
            height:90px;
            border:solid 1px lightGray;
            padding:2px 2px 2px 2px;
        }
        .datalistImg
        {
            width:88px;
            height:74px;
            border:none;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div  runat="server" id="contentDiv">
        <table style=" width:100%;">
            <tr>
                <td>
                     <asp:HyperLink Font-Underline="false" ID="AreaHyperLink"  Target ="_blank" runat="server"></asp:HyperLink>
                </td>
                <td>
                </td>
            </tr>
            <tr>
                <td style=" text-align:left">
                    <asp:Label ID="TotalCountLabel" ForeColor ="Gray"  Font-Size="Smaller" runat="server" Text="Label"></asp:Label>
                </td>
                <td style=" text-align:right">
                    <%--<asp:DropDownList ID="SortTypeDropDownList" Width="120px" runat="server">
                        <asp:ListItem Value ="">选择排序方式</asp:ListItem>
                    </asp:DropDownList>--%>
                </td>
            </tr>
            <tr>
                <td colspan="2" id="DatalistContentTd">
                    <asp:DataList ID="MainDataList" RepeatColumns ="3" RepeatDirection ="Horizontal"  DataKeyField ="RECID" Width="100%" runat="server">
                        <ItemTemplate>
                            <table cellpadding="0" cellspacing="0" class="DatalistContenttable" onmouseover ="this.bgColor='lightBlue';" onmouseout ="this.bgColor='white';">
                                  <tr>
                                    <td align="center" colspan="2" style=" padding-top:3px;">
                                        <a target="_blank"  title='<%# Eval("cbshoptitle")%>' href='<%# "/s.aspx?id="+Eval("userRECID").ToString() %>'><img class="datalistImg" alt="暂无图片" src='<%#(Eval("cbpathlogo").ToString().Trim()!="")?Eval("cbpathlogo"):"/img/userdefaultimg.gif" %>'/> </a>
                                    </td>
                                  </tr>
                                  <tr>
                                    <td align="center">
                                        <a target="_blank"  href='<%# "/s.aspx?id="+Eval("userRECID").ToString() %>' style=" text-decoration:none; font-size:small;" title='<%# Eval("cbshoptitle")%>'><%# (Eval("cbshoptitle").ToString().Length > 4) ? (Eval("cbshoptitle").ToString().Substring(0, 4) + "...") : Eval("cbshoptitle").ToString()%></a>
                                    </td>
                                    <td style =" overflow:hidden ;">
                                        <%#RuleCode.Table.cbuser.getLittleChatStr(Eval("userRECID").ToString ()) %>
                                    </td>
                                  </tr>
                                  <tr>
                                    <td align="center">
                                        <%--<a style=" font-size:small ;color:Red ;"><%# Eval("taobaoprice").ToString()+" 元"%> </a>--%>
                                    </td>
                                  </tr>
                            </table>
                        </ItemTemplate>
                    </asp:DataList>                      
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <cc1:WebPager ID="MainWebPager" Font-Size="Small" PagerStyle="NumericPages" PageSize ="6" ControlToPaginate ="MainDataList" 
                        Width="100%" runat="server" 
                        onpageindexchanged="MainWebPager_PageIndexChanged" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
